﻿using Ledict.ConditionExtract.DAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class dispute_infoBLL
    {
        dispute_infoDAL didal = new dispute_infoDAL();

        /// <summary>
        /// 获取实例数据
        /// </summary>
        /// <param name="ccid">节点信息</param>
        /// <returns></returns>
        public DataTable GetDisputeInfoData(string caseCause, string condition, int startRowIndex, int endRowIndex)
        {
            return didal.GetDisputeInfoData(caseCause, condition, startRowIndex, endRowIndex);
        }

        /// <summary>
        /// 获取实例数据总数
        /// </summary>
        /// <param name="caseCause"></param>
        /// <param name="condition"></param>
        /// <returns></returns>
        public int GetCount(string caseCause, string condition)
        {
            return didal.GetCount(caseCause, condition);
        }
    }
}
